export const log = (text: string) => {

    const time = new Date();

    console.log("[" + time.toLocaleTimeString() + "] " + text);

};

// Output an error message to console.

export const log_error = (text: string) => {

    const time = new Date();

    console.trace("[" + time.toLocaleTimeString() + "] " + text);

};
